package com.javadroid.model;

import java.util.List;

public class Data {
	
	private List<Mysql> mysql;

	public List<Mysql> getMysql() {
		return mysql;
	}

	public void setMysql(List<Mysql> mysql) {
		this.mysql = mysql;
	}

	
	public class Mysql{
		private String name;
		private String label;
		private String plan;
		private List<String> tags;
		private Credencials credentials;
		
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getLabel() {
			return label;
		}
		public void setLabel(String label) {
			this.label = label;
		}
		public String getPlan() {
			return plan;
		}
		public void setPlan(String plan) {
			this.plan = plan;
		}

		public List<String> getTags() {
			return tags;
		}
		public void setTags(List<String> tags) {
			this.tags = tags;
		}
		public Credencials getCredentials() {
			return credentials;
		}
		public void setCredentials(Credencials credentials) {
			this.credentials = credentials;
		}
	}
	
	public class Credencials{
		private String name;
		private String hostname;
		private String host;
		private String port;
		private String user;
		private String username;
		private String password;
		
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getHostname() {
			return hostname;
		}
		public void setHostname(String hostname) {
			this.hostname = hostname;
		}
		public String getHost() {
			return host;
		}
		public void setHost(String host) {
			this.host = host;
		}
		public String getPort() {
			return port;
		}
		public void setPort(String port) {
			this.port = port;
		}
		public String getUser() {
			return user;
		}
		public void setUser(String user) {
			this.user = user;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
	}	
	
}
